package com.hupu.jrs.ui.userprofile

import com.hupu.jrs.bean.UserResult
import com.hupu.jrs.ui.BasePresenter
import com.hupu.jrs.ui.BaseView

/**
 * Created by sll on 2016/5/11.
 */
class UserProfileContract {

    internal interface View : BaseView {
        fun renderUserData(userResult: UserResult)

        fun showLoading()

        fun hideLoading()

        fun showError()
    }

    internal interface Presenter : BasePresenter<View> {
        fun receiveUserInfo()
    }
}
